home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / contrib / amiga / AmigaDiffs.txt next >
Encoding:
Text File  |  1992-05-05  |  2.7 KB  |  57 lines

  1. Here are some clarifications for the Amiga source code diffs.
  2. Line numbers refer to the original metamail version 2.2 distribution.
  3.  
  4. 1) mailto.c line 47: include files from Dillon Amiga UUCP-1.15D. This library
  5.    provide functions that retrieve configuration information in a standard
  6.    way.
  7.  
  8. 2) mailto.c line 54: the compiler I use (DICE) provides ANSI C header files.
  9.    THe compiler has already encountered an ANSI C declaration of getenv().
  10.  
  11. 3) mailto.c line 71: "CC: versus Cc:" rfc-822 appears to say that case does
  12.    not matter. Unfortunately, a common mail sending program on the Amiga only
  13.    recognizes "Cc:". I did a global replace "CC" -> "Cc", which was
  14.    unnecessarily heavyhanded. It is really only needed to do something with
  15.    the strings that are actually output.
  16.  
  17. 4) mailto.c line 214: Home directory versus UULIB: and UUMAIL:. The Amiga does
  18.    not have a standard home directory. The symbolic paths UULIB: and UUMAIL:
  19.    pretty standard among users of UUCP on the Amiga (UUCP-packages tend to
  20.    rely on their existence).
  21.  
  22. 5) mailto.c line 214: The name of the signature file. I quickly discovered that
  23.    the .signature that I am using with regular mail programs, does not look
  24.    pretty, or even readable, when viewed as richtext. I have therefore created
  25.    separate signature files for use with mailto.
  26.  
  27. 6) mailto.c line 385: A shortcoming with the Amiga is that it normally has a
  28.    small and fixed size stack (the size is user settable, but one can not rely
  29.    on that it is bigger than 4 kByte). The compiler I use can allocate stack
  30.    dynamically, through a software scheme (there is no MMU). This scheme
  31.    requires that no procedure has more than about 2000 bytes of local variables
  32.    (slightly less actually).
  33.  
  34.    To comply with the 2000 byte limit I allocate some local arrays with
  35.    malloc() rather than from the stack.
  36.  
  37. 7) mailto.c line 445: The Amiga uses an iso-8859 character set. iso-8859-1 is
  38.    the most common.
  39.  
  40. 8) mailto.c line 683: In the Amiga OS a file opened for writing can not be opened
  41.    by anyone else. The scheme is single writer, multiple readers.
  42.  
  43. 9) mailto line 712: Check if the file just read in contains characters that
  44.    require the message to be encoded-
  45.  
  46. 10) mailto line 1444: Older versions of the Amiga OS do not deal gracefully with
  47.    lines longer than 255 characters.
  48.  
  49. 11) metamail line 118: The compiler I use has a bad definition of NULL in
  50.     stddef.h, namely
  51.         #define NULL     ((void *)0L)
  52.     This makes the compiler complain whenever NULL is used as an integer. I have
  53.     in several places in the metamail code changed NULL to 0. I realise now that
  54.     I could instead have put a redefinition of NULL at the top of the file.
  55.  
  56. 12) metamail line 198: The Amiga OS does not allow unlinking of an open file.
  57.